import type { App } from "vue";
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import 'dayjs/locale/zh-cn'

export function registerElementPlus(app: App) {
    // ElementPlus国际化配置
    app.use(ElementPlus, {
        locale: zhCn,
    })
}